package com.xuetang9.t9.hotel.beans;

import java.io.Serializable;

/**    餐桌
 * @author ChinaHp
 * @Classname DiningTable
 * @Description TODO
 * @Date 2020/1/5 21:20
 */
public class DiningTable implements Serializable {
    private int tableNum;
    private int typeId;
    private String name;
    private String state;

    /**
     * 外键 餐桌类型
     */
    private TableType tableType;

    public TableType getTableType() {
        return tableType;
    }

    public void setTableType(TableType tableType) {
        this.tableType = tableType;
    }

    public int getTableNum() {
        return tableNum;
    }

    public void setTableNum(int tableNum) {
        this.tableNum = tableNum;
    }

    public int getTypeId() {
        return typeId;
    }

    public void setTypeId(int typeId) {
        this.typeId = typeId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public DiningTable() {
    }

    public DiningTable(int tableNum, int typeId, String name, String state) {
        this.tableNum = tableNum;
        this.typeId = typeId;
        this.name = name;
        this.state = state;
    }

    @Override
    public String toString() {
        return "DiningTable{" +
                "tableNum=" + tableNum +
                ", typeId=" + typeId +
                ", name='" + name + '\'' +
                ", state='" + state + '\'' +
                '}';
    }
}
